namespace Gateway.Common.Enums;

/// <summary>
/// 缓存动作枚举
/// </summary>
public class CacheActionEnum : Enumeration<CacheActionEnum, string>
{
    public static readonly CacheActionEnum Add = new CacheActionEnum("ADD", "新增");
    public static readonly CacheActionEnum Update = new CacheActionEnum("UPDATE", "更新");
    public static readonly CacheActionEnum Remove = new CacheActionEnum("REMOVE", "删除");

    public CacheActionEnum(string value, string displayName) : base(value, displayName)
    {
    }
}